(#) androidx.recyclerview:recyclerview

Name
:   RecyclerView
Description
:   Android Support RecyclerView
License
:   [The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)
Vendor
:   Android Open Source Project
Identifier
:   androidx.recyclerview
Feedback
:   https://issuetracker.google.com/issues/new?component=460887
Min
:   Lint 8.0 and 8.1
Compiled
:   Lint 8.0 and 8.1
Artifact
:   androidx.recyclerview:recyclerview:1.4.0-rc01

(##) Included Issues

|Issue Id                                                |Issue Description                                                                                                                   |
|--------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|
|[InvalidSetHasFixedSize](InvalidSetHasFixedSize.md.html)|When using `setHasFixedSize()` in an `RecyclerView`, `wrap_content` cannot be used as a value for `size` in the scrolling direction.|

(##) Including

!!!
   This is not a built-in check. To include it, add the below dependency
   to your project.

```
// build.gradle.kts
implementation("androidx.recyclerview:recyclerview:1.4.0-rc01")

// build.gradle
implementation 'androidx.recyclerview:recyclerview:1.4.0-rc01'

// build.gradle.kts with version catalogs:
implementation(libs.recyclerview)

# libs.versions.toml
[versions]
recyclerview = "1.4.0-rc01"
[libraries]
# For clarity and text wrapping purposes the following declaration is
# shown split up across lines, but in TOML it needs to be on a single
# line (see https://github.com/toml-lang/toml/issues/516) so adjust
# when pasting into libs.versions.toml:
recyclerview = {
    module = "androidx.recyclerview:recyclerview",
    version.ref = "recyclerview"
}
```

1.4.0-rc01 is the version this documentation was generated from;
there may be newer versions available.

(##) Changes

* 1.2.0: First version includes InvalidSetHasFixedSize.

(##) Version Compatibility

There are multiple older versions available of this library:

| Version            | Date     | Issues | Compatible | Compiled      | Requires |
|-------------------:|----------|-------:|------------|--------------:|---------:|
|          1.4.0-rc01|2024/09/18|       1|         Yes|    8.0 and 8.1|8.0 and 8.1|
|        1.4.0-beta01|2024/08/21|       1|         Yes|    8.0 and 8.1|8.0 and 8.1|
|       1.4.0-alpha02|2024/08/07|       1|         Yes|    8.0 and 8.1|8.0 and 8.1|
|       1.4.0-alpha01|2023/10/18|       1|         Yes|    8.0 and 8.1|8.0 and 8.1|
|               1.3.2|2023/10/18|       1|         Yes|    7.3 and 7.4|       7.0|
|               1.3.1|2023/07/26|       1|         Yes|    7.3 and 7.4|       7.0|
|               1.3.0|2023/03/08|       1|         Yes|    7.3 and 7.4|       7.0|
|               1.2.1|2021/06/02|       1|         Yes|            4.1|       3.3|
|               1.2.0|2021/04/07|       1|         Yes|            4.1|       3.3|

<!-- Markdeep: --><style class="fallback">body{visibility:hidden;white-space:pre;font-family:monospace}</style><script src="markdeep.min.js" charset="utf-8"></script><script src="https://morgan3d.github.io/markdeep/latest/markdeep.min.js" charset="utf-8"></script><script>window.alreadyProcessedMarkdeep||(document.body.style.visibility="visible")</script>